package com.hxx520.testshiro.service;


import com.hxx520.testshiro.mapper.UserMapper;
import com.hxx520.testshiro.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;
    @Override
    public User getUserByName(String name) {

        return userMapper.getUserByName(name);
    }
}
